package com.wanmait.houlang.pojo;

import java.io.Serializable;

public class EnrollmentSchedule implements Serializable {
    private Integer id;

    private  Integer enable;

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    private Professional pro;

    private School school;

    private Province province;

    private AdmissionsYear year;

    private GradeType gradeType;

    private AdmissionsBatch admBat;

    private Integer planCount;

    private System sys;

    private Subject sub;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Professional getPro() {
        return pro;
    }

    public void setPro(Professional pro) {
        this.pro = pro;
    }

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public AdmissionsYear getYear() {
        return year;
    }

    public void setYear(AdmissionsYear year) {
        this.year = year;
    }

    public GradeType getGradeType() {
        return gradeType;
    }

    public void setGradeType(GradeType gradeType) {
        this.gradeType = gradeType;
    }

    public AdmissionsBatch getAdmBat() {
        return admBat;
    }

    public void setAdmBat(AdmissionsBatch admBat) {
        this.admBat = admBat;
    }

    public System getSys() {
        return sys;
    }

    public void setSys(System sys) {
        this.sys = sys;
    }

    public Subject getSub() {
        return sub;
    }

    public void setSub(Subject sub) {
        this.sub = sub;
    }

    public Integer getPlanCount() {
        return planCount;
    }

    public void setPlanCount(Integer planCount) {
        this.planCount = planCount;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", proId=").append(pro);
        sb.append(", schoolId=").append(school);
        sb.append(", provinceId=").append(province);
        sb.append(", yearId=").append(year);
        sb.append(", gradeTypeId=").append(gradeType);
        sb.append(", admBatId=").append(admBat);
        sb.append(", planCount=").append(planCount);
        sb.append(", sysId=").append(sys);
        sb.append(", subId=").append(sub);
        sb.append("]");
        return sb.toString();
    }
}